#ifndef __INDEX_BUFFER_HPP__
#define __INDEX_BUFFER_HPP__

class IndexBuffer {
    unsigned int _rendererID;
    unsigned int _count;
public:
    IndexBuffer( const unsigned int* data, unsigned int count );
    ~IndexBuffer();

    void bind() const ;
    void unbind() const ;

    inline unsigned int count() const {
        return _count;
    }
};


#endif // !__INDEX_BUFFER_HPP__
